import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()

// 全局方法
Vue.prototype.$uniApi = {
	getWindowHeight(_this) {
		uni.getSystemInfo({
			success: (res) => {
				_this.windowHeight = res.windowHeight;
			}
		})
	},
}
